<?php

class Config_header {

    public $data;
    private $_meta;
    private $_css;
    private $_jquery;

    public function Config_header() {
        //META
        $this->_meta = " <meta charset='UTF-8'>";

        //CSS
        $this->_css = array("<link rel='stylesheet' href='" . base_url() . "css/bootstrap.min.css'>",
            "<link rel='stylesheet' href='" . base_url() . "css/bootstrap-theme.min.css'>",
            "<link rel='stylesheet' href='" . base_url() . "css/login-from.css'>",
            "<link rel='stylesheet' href='" . base_url() . "css/module-page.css'>",
            "<link rel='stylesheet' href='" . base_url() . "css/glyphicons.css'>",
            "<link rel='stylesheet' href='" . base_url() . "css/jquery-ui.css'>",
            "<link rel='stylesheet' href='" . base_url() . "css/contains-page.css'>");

        //JQUERY
        $this->_jquery = array("<script src='" . base_url() . "js/jquery-2.1.0.min.js'></script>",
            "<script src='" . base_url() . "js/setting.js'></script>",
            "<script src='" . base_url() . "js/bootstrap.min.js'></script>",
            "<script src='" . base_url() . "js/jquery-ui.js'></script>");

        //SHOW CODE META & CSS & JQUERY & JS ON HEAD HTML 
        $this->data['show_code'] = $this->_meta
                . $this->_css[0] . $this->_css[1] . $this->_css[2] . $this->_css[3] . $this->_css[4] . $this->_css[5] . $this->_css[6]
                . $this->_jquery[0] . $this->_jquery[1] . $this->_jquery[2] . $this->_jquery[3];
    }

}
